package com.gandong8.trace.tool.exception;


public class GlobalException extends RuntimeException {

    private Integer code = 500;

    public GlobalException(String message)
    {
        super(message);
    }

    public GlobalException(String message, Throwable e)
    {
        super(message);
    }

    public GlobalException(String message, Integer code)
    {
        super(message);
        this.code = code;
    }



    public Integer getCode()
    {
        return this.code;
    }

}
